﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Wq.Model;

namespace Wq.ManagerService.Entities
{
    /// <summary>
	/// 权限
	/// </summary>
	[TenantAttribute("manager")]
    [SugarTable("Wq_Role")]
    public class RoleInfo
    {
        /// <summary>
        /// Id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public long Id { get; set; }
        /// <summary>
        /// 权限名称
        /// </summary>
        [SugarColumn(ColumnDescription = "Name")]
        public string Name { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(ColumnDescription = "Remark")]
        public string Remark { get; set; }
        /// <summary>
        /// 管理员人数
        /// </summary>
        [SugarColumn(ColumnDescription = "Number")]
        public int? Number { get; set; }
    }
}
